package sjtu.ist.warehouse4ws.service;

import sjtu.ist.warehouse4ws.dao.PermissionresourcesDao;
import sjtu.ist.warehouse4ws.model.Permissionresources;

public class PermissionresourcesServiceImpl implements PermissionresourcesService{
	
	private PermissionresourcesDao permissionresourcesDao;
	
	public void setPermissionresourcesDao(
			PermissionresourcesDao permissionresourcesDao) {
		this.permissionresourcesDao = permissionresourcesDao;
	}


	@Override
	public boolean addPermissionresources(
			Permissionresources permissionresources) {
		// TODO Auto-generated method stub
		
		permissionresourcesDao.save(permissionresources);
		return false;
	}

}
